package com.atguigu.gmall.product;

import com.atguigu.gmall.common.config.Swagger2Config;
import com.atguigu.gmall.common.config.exception.EnableAutoExceptionHandler;
import com.atguigu.gmall.common.config.minio.MinioAutoConfiguration;
import com.atguigu.gmall.common.config.minio.annotation.EnableMinio;
import com.atguigu.gmall.common.config.swagger.annotation.EnableRestDocs;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;


/**
 * ClassName: ProductMainApplication
 * Package: com.atguigu.gmall.product
 * Description:
 *
 * @Author ltystart
 * @Create 2025/8/15 2:12
 * @Version 1.0
 */
//@SpringBootApplication
//@EnableDiscoveryClient//开启服务发现
//@EnableCircuitBreaker//开启服务熔断
@SpringCloudApplication
@MapperScan("com.atguigu.gmall.product.mapper")
@EnableRestDocs
@EnableMinio
@EnableTransactionManagement
@EnableAutoExceptionHandler
public class ProductMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductMainApplication.class,args);
    }
}
